package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import java.util.Map;

/**
 * Created by gaDZS on 2017/8/11.
 */
@RestController
public class CoreController {

    @RequestMapping("/getInfo")
    public String  getInfo(@RequestParam("id") String id){
        return "springcloud-core-service,getInfo:"+id;
    }
}
